package com.vae.virtualanimationexperiment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.vae.virtualanimationexperiment.domain.ResponseResult;
import com.vae.virtualanimationexperiment.domain.entity.User;
import com.vae.virtualanimationexperiment.domain.form.LoginForm;
import com.vae.virtualanimationexperiment.domain.form.RegisterForm;
import com.vae.virtualanimationexperiment.domain.form.RetrievePwdForm;

import java.util.Map;


/**
 * 用户表(User)表服务接口
 *
 * @author makejava
 * @since 2023-03-05 20:39:24
 */
public interface UserService extends IService<User> {

    ResponseResult login(LoginForm loginForm);

    ResponseResult logout();

    ResponseResult getVerificationCode(String email);

    ResponseResult regist(RegisterForm registerForm);

    ResponseResult getForgetCode(String email);

    ResponseResult retrievePassword(RetrievePwdForm retrievePwdForm);

    Map<String, String> getNickNameAndAvatarByUserId(Long userId);
}

